<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../day10_vue/js/vue.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../day10_vue/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../day10_vue/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			{{msg}}
		</div>
	</body>
	<script type="text/javascript">
		var vm=new Vue({
			el:"#app",
			data:{
				msg:"hello world",
			},
			mounted:function(){
				axios({
					url:"www.baidui.com",
					method:"get",
					data:{name:"神墓",author:“辰东”}					
				})
				.then(function(data){
					console.log(data.data)
				})
				.catch(function(){
					console.log("请求错误")
				})
			}
		});
	</script>
</html>
